package wzc.design_pattern.behaviour.chain;

/**
 * @Author 那和不是个啥
 * @Date 2025/7/20
 * @Description 抽象处理者
 */

public abstract class LeaveHandler {
    protected LeaveHandler nextHandler;
    public void setNextHandler(LeaveHandler nextHandler) {
        this.nextHandler = nextHandler;
    }
    public abstract void handleRequest(int leaveDays);
}
